/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package sample2;

/**
 *
 * @author RoderickNestor
 */

import java.io.Serializable;

public class StudentBean implements Serializable {
        int rollNo;
        String name;
        String course;
        String address;

        public StudentBean() {

        }

        public StudentBean(int roll, String name, String course, String address) {
                this.rollNo = roll;
                this.name = name;
                this.course = course;
                this.address = address;
        }

        public int getRollNo() {
                return rollNo;
        }

        public void setRollNo(int rollNo) {
                this.rollNo = rollNo;
        }

        public String getName() {
                return name;
        }

        public void setName(String name) {
                this.name = name;
        }

        public String getCourse() {
                return course;
        }

        public void setCourse(String course) {
                this.course = course;
        }

        public String getAddress() {
                return address;
        }

        public void setAddress(String address) {
                this.address = address;
        }

}